<?php
/**
 * Created by PhpStorm.
 * User: Smile
 * Date: 2017/3/30
 * Time: 12:17
 */

function process($a){
    shell_exec('RHC php E:\projects\User\\'.$a.'.php');
}

$Process1=[
    'multiCurl'=>31,
   'readText'=>10
];
foreach ($Process1 as $k=>$v) {
    for ($i = 0; $i < $v; $i++) {
        process($k);
    }
}